package com.exam.demo.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@TableName(value = "t_business")
public class Business {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id ;

    @NotBlank(message = "用户账号不能为空")
    private String name;

    private String dpm;

    private String startDate;

    private String endDate;

    private int days;

    private String position;

    private String reason;

    private String auditor;

    private String status;


}
